package com.globefrog.framework.common.exception;

/**
 * @author : Globe-Frog
 * @date : Create in 2021/7/7
 */
public class InvalidRequestException extends RuntimeException {

  private static final long serialVersionUID = 1258882039705286357L;

  private String filed;

  public InvalidRequestException(String message) {
    this(null, message, null);
  }

  public InvalidRequestException(String message, Throwable throwable) {
    this(null, message, throwable);
  }

  public InvalidRequestException(String filed, String message, Throwable throwable) {
    super(message, throwable);
    this.filed = filed;
  }


  public String getFiled() {
    return filed;
  }
}
